<?php
/**
 * Created by PhpStorm.
 * User: kb112
 * Date: 2017/2/20
 * Time: 16:46
 */

namespace soa\account;
use soa\client;

class order extends client
{
    /**
     * @var string
     */
    protected $service_url = 'http://order.core.kuaidihelp.com/';

    /**
     * @var string
     */
    protected $service_name = 'kuaidihelp_order2';

    /**
     * 下单
     * @param $params
     * @return array|bool|null
     */
    public function place($params)
    {
        if (empty($params)) {
            return [];
        }
        return $this->post('v1/place/index', $params);
    }
}